package com.xyoto.community.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("问答列表Vo")
public class QuestionListVo {

    @ApiModelProperty("用户id")
    Integer userId;

    @ApiModelProperty("问答id")
    Integer questionId;

    @ApiModelProperty("用户昵称")
    String nickname;

    @ApiModelProperty("用户头像")
    String avatar;

    @ApiModelProperty("问答内容")
    String content;

    @ApiModelProperty("评论数目")
    Integer commentCount;

    @ApiModelProperty("创建时间")
    Date createTime;
}
